package com.antoco.operation.bigscreen.model.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 水质监测设备数量
 */
@Entity
@Data
@Table(name = "suizi_sensor_num")
public class SuiziSensorNum implements AbstractEntity<Long> , Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 总数
     */
    @Column(name = "all_num")
    private String allNum;

    /**
     * CH2传感器数
     */
    @Column(name = "ch2_num")
    private String ch2Num;

    /**
     * H2S传感器数
     */
    @Column(name = "h2s_num")
    private String h2sNum;

    /**
     * CO传感器数
     */
    @Column(name = "co_num")
    private String coNum;

    /**
     * PH传感器数
     */
    @Column(name = "ph_num")
    private String phNum;

    /**
     * 正常数占比
     */
    @Column(name = "normal_zb")
    private String normalZb;

    /**
     * 预警数占比
     */
    @Column(name = "alarm_zb")
    private String alarmZb;

    /**
     * 告警数占比
     */
    @Column(name = "warn_zb")
    private String warnZb;

}
